package com.ruoyi.client.service;

import com.ruoyi.client.pojo.form.NovelInsertForm;
import com.ruoyi.client.pojo.vo.NovelRewardsVo;

import javax.validation.Valid;
import java.util.List;

public interface NovelRewardsService {
    /*增加评论*/
    Long insert(NovelInsertForm form);
    /*更改评论*/
    Boolean update(NovelInsertForm novels);

    /*根据id查看评论*/
    NovelRewardsVo selectNovelById(Long rewardId);

    /*查询所有评论*/
    List<NovelRewardsVo> selectAll();

    /*查询评论*/
    List<NovelRewardsVo> selectVoMyList(NovelInsertForm form);

    /*删除评论*/
    Boolean deleteById(Long userId);

    /*点赞评论*/
    Boolean likeComment(Long rewardId);

    /*取消点赞评论*/
    Boolean unlikeComment(Long rewardId);

}